import type { AppRouteModule } from '/@/router/types';
import { LAYOUT } from '/@/router/constant';
const dwinterface: AppRouteModule = {
  path: '/dwinterface',
  name: 'Dwinterface',
  component: LAYOUT,
  redirect: '/dwinterface/dwinterfaceindex',
  meta: {
    icon: 'mdi:connection',
    title: '对外接口',
    orderNo: 40,
  },
  children: [
    {
      path: 'dwinterfaceindex',
      name: 'dwinterfaceindex',
      component: () => import('/@/views/dwinterface/index.vue'),
      meta: {
        title: '推送配置',
      },
    },

    // {
    //   path: 'thirdParty_page',
    //   name: 'thirdParty_page',
    //   component: () => import('/@/views/dwinterface/thirdParty/thirdParty_page.vue'),
    //   meta: {
    //     title: '三方接口',
    //     icon: 'mdi:airplane-cog'
    //   },
    // },
    // {
    //   path: 'datastorage',
    //   name: 'Datastorage',
    //   component: () => import('/@/views/dwinterface/datastorage/index.vue'),
    //   meta: {
    //     title: '数据存储',
    //     icon:'mdi:database-outline'
    //   },
    // },

    {
      path: 'datastorage',
      name: 'Datastorage',
      component: () => import('/@/views/dwinterface/datastorage/storageIndex.vue'),
      meta: {
        title: '数据存储',
      },
    },
  ],
};

export default dwinterface;
